{template 'header'}	
 
<link rel="stylesheet" type="text/css" href="{DT_SKIN}clubnew.css"/>
<div class="index-doc pdt_10">

<!--图标导航开始-->
<div class="category-entrance fd-clr">
    <ul class="top-list">
   <li class="category-item category-sub-menu bbs-quan"><a href="{cat_url(2625)}" target="_blank"><span class="category-img"></span><span class="category-name">论坛圈</span></a></li>
        <li class="category-item hot-quan"><a href="{cat_url(2626)}" target="_blank"><span class="category-img"></span><span class="category-name">闲聊圈</span></a></li>
        <li class="category-item yuan-cai-liao"><a href="{cat_url(2627)}" target="_blank"><span class="category-img"></span><span class="category-name">装修指南</span></a></li>
        <li class="category-item gong-ye-pin"><a href="{cat_url(2628)}" target="_blank"><span class="category-img"></span><span class="category-name">建材涂料</span></a></li>
        <li class="category-item fu-zhuang"><a href="{cat_url(2681)}" target="_blank"><span class="category-img"></span><span class="category-name">家居百货</span></a></li>
        <li class="category-item bai-huo"><a href="{cat_url(2629)}" target="_blank"><span class="category-img"></span><span class="category-name">行情经验</span></a></li>
        <li class="category-item xiao-shang-pin"><a href="{cat_url(2683)}" target="_blank"><span class="category-img"></span><span class="category-name">业主圈</span></a></li>
        <li class="category-item fu-wu"><a href="{cat_url(2684)}" target="_blank"><span class="category-img"></span><span class="category-name">商务服务</span></a></li>
        <li class="category-item sha-long"><a href="{cat_url(2685)}" target="_blank"><span class="category-img"></span><span class="category-name">网商沙龙</span></a></li>
        <li class="category-item office-circle "><a href="{cat_url(2686)}" target="_blank"><span class="category-img"></span><span class="category-name">官方圈</span></a></li>
    </ul>
</div>
<!--图标导航结束-->

<!--第一屏 开始-->
<div class="row-screen first-screen fd-clr">
    <!-- 第一屏left start -->
    <div class="left">
            <div class="promo-tabs fui-tab-effect-default">                  
             <!--{tag("moduleid=$moduleid&condition=status=3 and thumb!=''&areaid=$cityid&order=addtime DESC&pagesize=3&width=308&height=258&target=_blank&template=slide")}-->               
            </div>

        <div class="hot-threads">
            <div class="headclub fd-clr">
                <span class="area-title">本站热点</span><span class="new-post-info">昨日新增圈帖<span class="post-count">{php echo $db->count($DT_PRE.'club', 'status=3', 1800);} </span></span>
            </div>
            <div class="body">
    <ul class="fd-clr">
    <!--{tag("moduleid=$moduleid&condition=status=3&length=32&areaid=$cityid&order=addtime DESC&pagesize=13&template=sq-indexrd")}-->
     
    </ul>
</div>
        </div>
    </div>
    <!-- 第一屏left start -->
    <!-- 第一屏center start -->
    <div class="center">
     <!--{php $tags=tag("moduleid=$moduleid&condition=status=3 and level=2 and thumb<>''&areaid=$cityid&order=addtime desc&pagesize=1&template=null");}--> 
               {loop $tags $t}
<a class="main-title" href="{$t[linkurl]}">{$t[title]}</a>
<span class="main-info">{dsubstr($t[introduce], 120, '…')}   <span class="fr" style="color:#FF0000"> 来自：{$t[passport]}</span></span>
             {/loop}
<ul class="post-center">  
 <!--{tag("moduleid=$moduleid&condition=status=3&length=40&showcat=1&areaid=$cityid&order=addtime DESC&pagesize=5&template=sq-indexzx")}-->
</ul>
<!-- 首屏中心推荐位 -->
<div class="seminar-suggest">
    <div class="headclub fd-clr">
              <span class="area-title">推荐粉丝专栏贴</span>
                  <span class="suggest-item"><span class="left-corner"></span><a href="#" target="_blank">创业故事</a><span class="right-corner"></span></span>
                  <span class="suggest-item"><span class="left-corner"></span><a href="#" target="_blank">职场生涯</a><span class="right-corner"></span></span>
                  <span class="suggest-item"><span class="left-corner"></span><a href="#" target="_blank">技术交流</a><span class="right-corner"></span></span>
    </div>

    <div class="body">

             <ul>
            		<!--{tag("moduleid=$moduleid&condition=status=3 and level=1&areaid=$cityid&order=addtime desc&pagesize=2&template=sq-indexzt")}--> 
             </ul>    
    </div>

</div>
</div>
    <!-- 第一屏center end -->
    <!-- 第一屏right start -->
    <div class="right">

<div class="unlogin">
    <div class="infoclub">
        <div class="data fd-left">
            <div class="welcome-tips">众多优质圈子，等你的加入！</div>
            <div class="desc">
                  <p class="item">已有圈子： <span class="count">{php echo $db->count($DT_PRE.'club_group', 'status=3', 1800);}</span> 个</p>
                  <p class="item">已有帖子： <span class="count">{php echo $db->count($DT_PRE.'club', 'status=3', 1800);}</span> 篇</p>
                  <p class="item">热情粉丝： <span class="count">{php echo $db->count($DT_PRE.'club_fans', 'status=3', 1800);}</span> 位</p>
            </div>
        </div>
<div class="default-avatar fd-right"> 
 {if !$_userid} {else}<a href="{$MOD[linkurl]}{rewrite('search.php?username='.$t['username'])}" target="_blank">
<img class="head-pic" src="{useravatar($t[username], 'large')}">
</a>{/if}
</div>
    </div>
 
 <!--会员在线状态-->
               
               <div {if !$_userid} style="display:none;"{/if}>
                <div class="has-login">
         <div class="my-operation fd-clr">
            <a href="{$MODULE[2][linkurl]}{$DT[file_my]}?mid=18&amp;job=group" target="_blank" class="my-club fd-left">我的商圈</a>
            <a href="{$MODULE[2][linkurl]}{$DT[file_my]}?mid=18&amp;job=group&action=add" target="_blank" class="add-article fd-left">创建商圈</a>
            <a href="{$MODULE[2][linkurl]}{$DT[file_my]}?mid=18" target="_blank" class="my-homepage fd-left">我的主题</a>
        </div>  
        </div> </div>  
    
 <div {if !$_userid} {else}style="display:none;" {/if}>
<div class="bar">
        <a href="{$MOD[linkurl]}{$DT[file_register]}" class="sign">免费注册</a>
        <a href="{$MODULE[2][linkurl]}{$DT[file_login]}" class="login">登录</a>
        <a href="{$MODULE[2][linkurl]}{$DT[file_my]}?mid=18&amp;job=group&action=add" class="getMoneny">创建商圈</a>
    </div>
    </div>

<!--会员在线状态END-->

</div>
<div class="qr-code">
<a href="#" target="_blank"><img src="{DT_SKIN}Images/01.png"/></a>
</div>
<div class="now-post">
    <div class="headclub fd-clr">
        <span class="area-title">大家在聊</span><a href="{$MODULE[18][linkurl]}search.php" id="change-btn">搜索话题</a>
    </div>

    <div class="body">
        <ul class="listclub">
 <!--{tag("moduleid=$moduleid&condition=status=3&areaid=$cityid&order=hits desc&pagesize=3&showcat=1&template=sq-indexdzl")}--> 
        </ul>
    </div>
</div>
    </div>
    <!-- 第一屏right end -->
</div>
<!--第一屏 结束-->
          
<div class="sixth-screen fd-clr"><a href="{$MODULE[2][linkurl]}{$DT[file_my]}?mid=18&job=group&action=add" target="_blank"><img src="{DT_SKIN}images/c1.jpg"  width="1190" ></a></div>

<div class="third-screen fd-clr">
<ul id = "club-card-list">
{loop $childcat $i $c}
<li class="club-card {if $i == 0}odd{elseif $i == 2}odd{elseif $i == 4}odd{elseif $i == 6}odd{elseif $i == 8}odd{elseif $i == 10}odd{/if}">
    <div class="headclub fd-clr">
        <span class="area-title">{$c[catname]}</span>
        <!--{php $tags=tag("moduleid=$moduleid&table=club_group&condition=status=3 and level=1&catid=".$c[catid]."&areaid=$cityid&order=addtime desc&pagesize=3&template=null");}-->
        {loop $tags $i $t}
            <a target="_blank" class="tag fd-left" href="{$t[linkurl]}">{$t[title]}{$MOD[seo_name]}</a>
            {/loop}
        <a target="_blank" href="{$MOD[linkurl]}{$c[linkurl]}" class="more-btn fd-right">更多<span>&gt</span></a>
    </div>
    <div class="body">
    <!--{php $tags=tag("moduleid=$moduleid&table=club_group&condition=status=3&catid=".$c[catid]."&areaid=$cityid&order=addtime desc&pagesize=4&template=null");}-->
        <ul class="group-list">
        {loop $tags $i $t}
            <li><a target="_blank" href="{$t[linkurl]}"><img class="group-pic" src="{$t[thumb]}"><p class="group-name">{$t[title]}{$MOD[seo_name]}</p><p class="group-count">主题：{$t[post]}   粉丝：{$t[fans]}</p></a></li>
            {/loop}
        </ul>
        <div class="fd-left detailclub">
         <!--{php $tags=tag("moduleid=$moduleid&condition=status=3 and level=1&catid=".$c[catid]."&areaid=$cityid&order=addtime desc&pagesize=1&template=null");}--> 
               {loop $tags $x}
     <span class="tip">推荐</span>
            <span class="arrow"></span>
            <a class="title" href="{$x[linkurl]}"  target="_blank">{$x[title]}</a>
            <div class="content"> {dsubstr($x[introduce], 80, '…')}
            </div>
            <p class="from">来自：{$x[passport]}</p>
             {/loop}
               <!--{php $tags=tag("moduleid=$moduleid&condition=status=3&catid=".$c[catid]."&areaid=$cityid&order=addtime desc&pagesize=6&template=null");}--> 
            <ul class="articles">
            {loop $tags $v}
                <li class="fd-clr">
                    <a class="fd-left" href="{$v[linkurl]}" target="_blank">{$v[title]}</a><span class="view-count fd-left">{$t[hits]}</span>
                </li>
                 {/loop}
            </ul>
        </div>
    </div>
</li>
{/loop}

    </ul>
</div>

<!--综合排行榜-->
<div class="clear"></div>
<div class="row-screen zonghe-rank-container one-col-layout">
        <div class="header fd-clr">
            <span class="area-title fd-left">综合排行榜</span>

            <ol class="new-filters filters fd-left">
                <li class="isell_2_2" id="isell_t_1" onmouseover="Tb(1, 2, 'isell', 'isell');">粉丝量</li>
                <li class="isell_2_1" id="isell_t_2" onmouseover="Tb(2, 2, 'isell', 'isell');">最新圈</li>

            </ol>
            <a class="fd-left more-btn" target="_blank" href="{$MODULE[18][linkurl]}search.php">更多<span>&gt;
            </span></a>
        </div>
        <div class="body">
   <!--{php $tags=tag("moduleid=$moduleid&table=club_group&condition=status=3&areaid=$cityid&order=fans desc&pagesize=50&template=null");}-->   
      <div class="day-container fd-clr" id="isell_c_1" style="display:">
    {loop $tags $i $t}          
    {if $i%10==0}<ul class="lists fd-left  lists-first">{/if}
    <li class="item fd-clr">       
     <span class="rank {if $i==0}rank-one{elseif $i==1}rank-two{elseif $i==2}rank-two{/if}">{$i+1}</span>
        <a class="title" target="_blank" href="{$t[linkurl]}">{$t[title]}</a>
        <span class="trend">{$t[fans]}</span>
    </li>
       {if $i%10==9}</ul>{/if}
  {/loop}
</div>

   <!--{php $tags=tag("moduleid=$moduleid&table=club_group&condition=status=3&areaid=$cityid&order=addtime desc&pagesize=50&template=null");}-->   
      <div class="day-container fd-clr" id="isell_c_2" style="display: none;">
    {loop $tags $i $t}          
    {if $i%10==0}<ul class="lists fd-left  lists-first">{/if}
    <li class="item fd-clr">       
     <span class="rank {if $i==0}rank-one{elseif $i==1}rank-two{elseif $i==2}rank-two{/if}">{$i+1}</span>
        <a class="title" target="_blank" href="{$t[linkurl]}">{$t[title]}</a>
        <span class="trend">{$t[fans]}</span>
    </li>
       {if $i%10==9}</ul>{/if}
  {/loop}
    
</div>
        </div>
    </div>
    
<div class="clear"></div>
</div>

{template 'footer'}